<template>
    <div>
        这是一个好故事
        <input v-model="message"/>
        <helloWorld :message="message" @update="message=$event"></helloWorld>
        <p>{{message}}</p>
    </div>
</template>

<script>
    import HelloWorld from "../components/helloworld"
    export default {
        name: "about",
        data:function(){
            return {
                message:"hello"
            }
        },
        components:{
            helloWorld:HelloWorld
        }
    }
</script>

<style scoped>

</style>